package cn.wei.sdd.core.mapper;

import cn.wei.sdd.core.pojo.entity.TakeMoneyRecord;
import cn.wei.sdd.core.pojo.vo.TakeMoneyRecordByUserIdVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 提现记录表 Mapper 接口
 * </p>
 *
 * @author Wei
 * @since 2021-11-10
 */
public interface TakeMoneyRecordMapper extends BaseMapper<TakeMoneyRecord> {

    List<TakeMoneyRecordByUserIdVO> getMyTakeMoneyRecord(Long userId);

    BigDecimal totalAmountSum();
}
